package com.cbh.entity;

import com.cbh.component.base.annotations.DBColumn;
import com.cbh.component.base.annotations.DBTable;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(Include.NON_NULL)
@ApiModel(value = "OfferInterface", description = "接口管理")
@DBTable(name = "general_offer_interface")
public class OfferInterface {
	@DBColumn(primary = true)
	@ApiModelProperty(value = "序号")
	private String oiId;
	@DBColumn
	@ApiModelProperty(value = "接口名称")
	private String oiName;
	@DBColumn
	@ApiModelProperty(value = "接口状态")
	private String oiState;
	@DBColumn
	@ApiModelProperty(value = "接口类型", allowableValues = "crawler,directly")
	private String oiType;
	@DBColumn
	@ApiModelProperty(value = "保险公司序号")
	private String oi_icId;
	@DBColumn
	@ApiModelProperty(value = "保险公司名称")
	private String oi_icName;
	@DBColumn
	@ApiModelProperty(value = "所属区域id")
	private String oi_areaId;
	@DBColumn
	@ApiModelProperty(value = "所属区域名称")
	private String oi_areaName;
	@DBColumn
	@ApiModelProperty(value = "基础地址")
	private String oiPathBase;
	@DBColumn
	@ApiModelProperty(value = "车辆查询")
	private String oiPathVehicle;
	@DBColumn
	@ApiModelProperty(value = "车型查询")
	private String oiPathVehicleModel;
	@DBColumn
	@ApiModelProperty(value = "报价接口")
	private String oiPathPremiumCalculation;
	@DBColumn
	@ApiModelProperty(value = "投保确认")
	private String oiPathConfirm;
	@DBColumn
	@ApiModelProperty(value = "支付地址")
	private String oiPathPay;
	@DBColumn(orderBy = true, sort = "ASC")
	@ApiModelProperty(value = "排序")
	private String oiSort;

	public OfferInterface id(String oiId) {
		this.oiId = oiId;
		return this;
	}

	public OfferInterface state(String oiState) {
		this.oiState = oiState;
		return this;
	}

	public OfferInterface icId(String oi_icId) {
		this.oi_icId = oi_icId;
		return this;
	}

	public OfferInterface areaId(String oi_areaId) {
		this.oi_areaId = oi_areaId;
		return this;
	}

	public String getOiId() {
		return oiId;
	}

	public void setOiId(String oiId) {
		this.oiId = oiId;
	}

	public String getOiName() {
		return oiName;
	}

	public void setOiName(String oiName) {
		this.oiName = oiName;
	}

	public String getOiState() {
		return oiState;
	}

	public void setOiState(String oiState) {
		this.oiState = oiState;
	}

	public String getOiType() {
		return oiType;
	}

	public void setOiType(String oiType) {
		this.oiType = oiType;
	}

	public String getOi_icId() {
		return oi_icId;
	}

	public void setOi_icId(String oi_icId) {
		this.oi_icId = oi_icId;
	}

	public String getOi_icName() {
		return oi_icName;
	}

	public void setOi_icName(String oi_icName) {
		this.oi_icName = oi_icName;
	}

	public String getOi_areaId() {
		return oi_areaId;
	}

	public void setOi_areaId(String oi_areaId) {
		this.oi_areaId = oi_areaId;
	}

	public String getOi_areaName() {
		return oi_areaName;
	}

	public void setOi_areaName(String oi_areaName) {
		this.oi_areaName = oi_areaName;
	}

	public String getOiPathBase() {
		return oiPathBase;
	}

	public void setOiPathBase(String oiPathBase) {
		this.oiPathBase = oiPathBase;
	}

	public String getOiPathVehicle() {
		return oiPathVehicle;
	}

	public void setOiPathVehicle(String oiPathVehicle) {
		this.oiPathVehicle = oiPathVehicle;
	}

	public String getOiPathVehicleModel() {
		return oiPathVehicleModel;
	}

	public void setOiPathVehicleModel(String oiPathVehicleModel) {
		this.oiPathVehicleModel = oiPathVehicleModel;
	}

	public String getOiPathPremiumCalculation() {
		return oiPathPremiumCalculation;
	}

	public void setOiPathPremiumCalculation(String oiPathPremiumCalculation) {
		this.oiPathPremiumCalculation = oiPathPremiumCalculation;
	}

	public String getOiPathConfirm() {
		return oiPathConfirm;
	}

	public void setOiPathConfirm(String oiPathConfirm) {
		this.oiPathConfirm = oiPathConfirm;
	}

	public String getOiPathPay() {
		return oiPathPay;
	}

	public void setOiPathPay(String oiPathPay) {
		this.oiPathPay = oiPathPay;
	}

	public String getOiSort() {
		return oiSort;
	}

	public void setOiSort(String oiSort) {
		this.oiSort = oiSort;
	}

}
